package net.hn.hnms.biz.cockpit.domain;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "situation_device_monitor", schema = "cockpit", catalog = "huaneng-cockpit")
@ApiModel(value = "生产态势综合自动化")
public class SituationDeviceMonitor {

    @ApiModelProperty(value = "id")
    @TableField(value = "id", fill = FieldFill.INSERT)
    private String id;

    @ApiModelProperty(value = "系统编码")
    private String sysCode;

    @ApiModelProperty(value = "系统名称")
    private String sysName;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "运行点位")
    private String runPointCode;

    @ApiModelProperty(value = "运行点位实时值")
    private String runPointValue;

    @ApiModelProperty(value = "监测点位")
    private String monitorPointCode;

    @ApiModelProperty(value = "监测点位名称")
    private String monitorPointName;

    @ApiModelProperty(value = "监测点位实时值")
    private String monitorPointValue;

    @ApiModelProperty(value = "矿编码")
    private String mineCode;

    @ApiModelProperty(value = "数据更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date updateDate;


}
